#include "SceneModel/BaseModel/Ray.h"

namespace GCRE {
	namespace SceneModel {

		Ray::Ray( const BasicType::SFVec3f& o, const BasicType::SFVec3f& d ) : 
		m_Origin( o ), m_Direction( d )
		{

		}

		Ray::Ray( const Ray& r )
		{
			m_Origin = r.m_Origin;
			m_Direction = r.m_Direction;
		}

		Ray& Ray::operator=( const Ray& r )
		{
			m_Origin = r.m_Origin;
			m_Direction = r.m_Direction;
			return *this;
		}

	}
}